package com.service;

import com.entity.RbacRole;
import com.entity.RbacRoleMenuDTO;
import com.entity.ResponseEntity;

public interface RbacRoleService {
    ResponseEntity<RbacRole> findAll();
    //查询用户所拥有的角色
    String findByRbacManager(String username);
    ResponseEntity findAll(int currentPage, int pageSize);

    // 基于所选的角色信息，查出用户所拥有的菜单信息
    ResponseEntity checkedRole(int roleId);

    ResponseEntity changeMenus(RbacRoleMenuDTO rbacRoleMenuDTO);
}
